package chapter12;

/**
 * @author : DuJiabao
 * @Date : 2021/2/20 10:08
 * @Project : thinking_in_java
 * @File : null.java
 * @Desc :
 */
public class ThrowTest {
  public static void main(String[] args) {
    f();
  }
  public static void f() {
    throw new NullPointerException("发生空指针错误");
  }
}
